package com.ajnp.springcloud.lb;

import org.springframework.cloud.client.ServiceInstance;

import java.util.List;

public interface LoadBalancer {

    //收集服务器上有几台服务可以进行负载均衡
    public abstract ServiceInstance instances(List<ServiceInstance> serviceInstances);


}
